Holds information about a stack level. More...
Public Member Functions | |
| TestStackLevel () noexcept | |
| TestStackLevel (nkMemory::StringView functionName, unsigned int line) noexcept | |
| nkMemory::StringView | getFunctionName () const |
| unsigned int | getLine () const |
| void | setFunctionName (nkMemory::StringView value) |
| void | setLine (unsigned int value) |
Holds information about a stack level.
|
noexcept |
Default constructor.
|
noexcept |
Parameterized constructor.
| functionName | The name of the function at the stack level. |
| line | The line at the stack level. |
| nkMemory::StringView nkDebug::TestStackLevel::getFunctionName | ( | ) | const |
| unsigned int nkDebug::TestStackLevel::getLine | ( | ) | const |
The level's source code line.
| void nkDebug::TestStackLevel::setFunctionName | ( | nkMemory::StringView | value | ) |
Allows to set the level's function name.
| value | The function name to set. |
| void nkDebug::TestStackLevel::setLine | ( | unsigned int | value | ) |
Allows to set the level's source code line.
| value | The source code line to set. |